package org.dftproject.genesis.data.genealogy;

import java.util.Locale;

import org.dftproject.genesis.data.IEntity;

public interface IInstant extends IEntity {

	/**
	 * Returns the number of milliseconds of this instant from the Java epoch of
	 * 1970-01-01T00:00:00Z.
	 * @return the number of milliseconds
	 */
	public Long getMillis();

	/**
	 * Returns a string representation of this instant for a given locale.
	 * @param locale a locale
	 * @return a string representation of this instant
	 */
	public String toString(Locale locale);
	
	

}
